package service;

import entity.Car;
import entity.User;

import javax.jws.WebMethod;
import javax.jws.WebService;
import java.util.List;

/**
 * @author liujw
 * @create 2020/9/10 00:07
 */

@WebService //用来标记类是WebService服务提供对象
public interface IUserService {
    @WebMethod//用来标记方法是WebService提供的方法
    public String sayHello(String name);

    @WebMethod
    public List<Car> findCarsByUser(User user);

    @WebMethod
    public Car findOneCar(User user);
}

